package com.zl.autocode.common.utils.generator.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CfgMethod implements Serializable {

    private static final long serialVersionUID = 1L;
    
    private String _uniqueId="";
    private String methodKey="";
    private String methodKeyName="";
    private String methodUrl="";
    private String methodCode1="";
    private String methodCode2="";
    private String methodCode3="";
    private String selectTemplate="";
    private String needFlag="";
    private String complexTableFlag="";
    private String methodOprType="";
    private Map<String,String> fieldEx=new HashMap<>();//扩展属性
    
    private Map<String,List<CfgMethodEntity>> entityData=new HashMap<>();//对象
    private Map<String,List<CfgMethodEntity>> orderEntitys=new HashMap<>();//排序对象
    private Map<String,Map<String,List<CfgMethodEntity>>> groupEntitys=new HashMap<>();//分组对象
    private Map<String,Map<String,String>> groupNames=new HashMap<>();//分组对象
    
    private Map<String,String> tags=new HashMap<>();
    
    private Map<String,List<CfgMethodEntity>> dictData=new HashMap<>();//专门用于字典的字段
    
    //特殊处理下
    private String name_req="";
    private String lname_req="";
    private String name_res="";
    private String lname_res="";
    private List<CfgMethodEntity> entityDataReq=new ArrayList<>();//对象
    private List<CfgMethodEntity> entityDataRes=new ArrayList<>();//对象
    private List<CfgMethodEntity> orderEntitysReq=new ArrayList<>();//排序对象
    private List<CfgMethodEntity> orderEntitysRes=new ArrayList<>();//排序对象
    private Map<String,Map<String,List<CfgMethodEntity>>> groupEntitysReq=new HashMap<>();//分组对象
    private Map<String,Map<String,List<CfgMethodEntity>>> groupEntitysRes=new HashMap<>();//分组对象
    private Map<String,String> groupNamesReq=new HashMap<>();//分组对象
    private Map<String,String> groupNamesRes=new HashMap<>();//分组对象
}
